package zzc.javaWeb.javaWebHomew.pojo;

public class UserBean {
    private int id;
    private String zhuany;
    private String name;
    private int classnum;
    private int old;

    public UserBean(int id, String zhuany, String name, int classnum, int old) {
        this.id = id;
        this.zhuany = zhuany;
        this.name = name;
        this.classnum = classnum;
        this.old = old;
    }

    public UserBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getZhuany() {
        return zhuany;
    }

    public void setZhuany(String zhuany) {
        this.zhuany = zhuany;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getClassnum() {
        return classnum;
    }

    public void setClassnum(int classnum) {
        this.classnum = classnum;
    }

    public int getOld() {
        return old;
    }

    public void setOld(int old) {
        this.old = old;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", zhuany='" + zhuany + '\'' +
                ", name='" + name + '\'' +
                ", classnum=" + classnum +
                ", old=" + old +
                '}';
    }
}
